#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    setWindowState(Qt::WindowMaximized);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_courseMessage_clicked()
{
    c=new CourseMessage;
    this->c->show();
}

void MainWindow::on_studentQuery_clicked()
{
    d=new QueryScore;
    this->d->show();
}

void MainWindow::on_studentMessage_clicked()
{
    e=new AddStudent;
    this->e->show();
}

void MainWindow::on_courseQuery_clicked()
{
    f.show();
}
